{template search_head}
<script language="javascript">
document.domain = '{$document_domain}';
</script>
	<!-- 搜索结果页 -->	
	<div class="c"></div>
 	<div class="main2 cc" id="mainbox">
    	<div class="h">
        	<span class="fr">搜索<span class="s1">{$search[keywords]}</span>获得{$search[rows_num]}条查询结果
        	</span>
            <span class="mr20"><a href="#">{$mymps_global[SiteName]}搜索</a> &raquo; 商家</span><span class="s6">小提示：多个词用空格分隔，搜索的更准！</span>
        </div>

		<div class="content fl">
        	<div class="s_dlA">
            	{if $search[rows_num] == 0}
                <div class="nodata">抱歉！没有找到匹配的相关信息，您可以尝试换个关键词搜索一下。</div>
                {else}
                <div class="searchuser mt6">
                {loop $search[result] $k $result}
                <dl>
                    <dt>
                      <a  href="{$result[uri]}" target="_blank"><img src="{$mymps_global[SiteUrl]}{$result[prelogo]}"></a>
                        <div style="width:400px; float:left;">
                        <h3><a  href="{$result[uri]}" target="_blank">{$result[tname]}</a></h3>
                        联系电话：{$result[tel]} <br />联系地址：{$result[address]}<br>
                        </div>
                    </dt>
                    <dd>
                        <a href="{$result[uri_aboutus]}" target="_blank">商家简介</a>
                        <a href="{$result[uri_comment]}" target="_blank">添加点评</a>
                        <a href="{$result[uri_album]}" target="_blank">商家相册</a>
                    </dd>
                </dl>
                {/loop}
    			</div>
        		{/if}
                <div class="pagination2 mt6">{$search[pagination]}</div>
            </div>
        </div>

        <div class="sidebar fr">
        	<div class="p15 s_boxA">
            	<h2>商家详细检索</h2>
                <ul class="quicksearch">
					<div style="display:none;">
                        <iframe width=0 height=0 src='' id="iframe_area" name="iframe_area"></iframe> 
                        <iframe width=0 height=0 src='' id="iframe_street" name="iframe_street"></iframe> 
                        <form method="post" target="iframe_area" id="form_area"></form>
                    </div>
                    <form action="{$mymps_global[SiteUrl]}/search.php?" method="get" />
                    <input type="hidden" name="mod" value="store" />
                    <dl>
                    <dt>选择类别：</dt>
                    <dd>
                    <select name="catid">
                    	<option value="" {if !$catid}style="background-color:#6eb00c; color:white!important;"{/if}>不限类别</option>
						{loop $catoption $k $options}
                        <option value="{$options[corpid]}" {if $options[corpid] == $catid}selected style="background-color:#6eb00c; color:white!important;"{/if}>>{$options[corpname]}</option>
                        {/loop}
                    </select>
					</dd>
                    <dt>所在地区：</dt>
                    <dd>
                    <select name="areaid">
                    <option value="">不限地区</option>
                    {$select_where_option}
                    </select></dd>
                    <dt>关键字：</dt>
                    <dd><input type="text" name="keywords"  class="searchinput inputbox" value="{$search[keywords]}" /></dd> 
                    <dt>&nbsp;</dt>
                    <dd><input type="submit" value="我要搜索" class="submit"/></dd>
                    </dl>
                    </form>
                </ul>
            </div>
        </div>
        <div class="c">&nbsp;</div>
    </div>  

</div></div>

<div class="footer-wrap">
<div class="c mt10"></div>
{template search_foot}
</div>
</div>
</body>
</html>